Learn R Programming

rggobi (version 2.1.22)

"rownames<-.GGobiData": Set row names

Description

Set row names for a GGobiData

Usage

# S3 method for GGobiData
rownames(x) <- value

Arguments

x

GGobiData

value

new names

Examples

Run this code
# NOT RUN {
if (interactive()) {
g <- ggobi(mtcars)
df <- g[1]
rownames(df)
rownames(df) <- tolower(rownames(df))
rownames(df)}
# }

Run the code above in your browser using DataLab